public class RableDemo1 {
    public static void main(String[] args) {
        Thread  t1=new Thread(new RunAble(),"飞机");//通过thread类给线程命名
        Thread  t2=new Thread(new RunAble(),"高铁");//通过thread类给线程命名
        Thread  t3=new Thread(new RunAble(),"汽车");//通过thread类给线程命名

    }
}
